package br.edu.ufcg.dsc.lsi.vademecum.context.provider;

import br.edu.ufcg.dsc.lsi.vademecum.context.ContextIF;
import br.edu.ufcg.dsc.lsi.vademecum.context.RawData;

/**
 * Class that represent the context provider.
 * @author Hugo Feitosa de Figueirêdo
 */
public interface ContextProviderIF {

    /**
     * Method to update the context at the VadeMecum Platform.
     * @param context The context to be updated.
     */
    public void updateContext(ContextIF context);

    /**
     * Method that make the analysis of a sensed data
     * and return the apropriate context.
     * @param rawData The sensed information.
     * @return The apropriate context.
     */
    public ContextIF rawDataProcessor(RawData rawData);

}
